<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@ include file="../base/top_css.jsp"%>
</head>

<body>


	<%@ include file="../base/top.jsp"%>

	<%@ include file="../base/left.jsp"%>

	<div class="mainbar">

		<!-- Page heading -->
		<div class="page-head">
			<h2 class="pull-left">
				<i class="icon-home"></i> 首页
			</h2>

			<!-- Breadcrumb -->
			<div class="bread-crumb pull-right">
				<a href="${pageContext.request.contextPath }/base/index.jsp"><i class="icon-home"></i> 首页</a>
				<!-- Divider -->
				<span class="divider">/</span> <a href="#" class="bread-current">控制台</a>
			</div>

			<div class="clearfix"></div>

		</div>

		<div class="matter">
			<div class="container" id="con">
				<div class="widget wgreen">

					<div class="widget-head">
						<div class="pull-left">Forms</div>
						<div class="widget-icons pull-right">
							<a href="#" class="wminimize"><i class="icon-chevron-up"></i></a>
							<a href="#" class="wclose"><i class="icon-remove"></i></a>
						</div>
						<div class="clearfix"></div>
					</div>

					<div class="widget-content">
						<div class="padd">

							<h6>Input Boxs</h6>
							<hr>
							<!-- Form starts.  -->
							<form class="form-horizontal" role="form"
								action="${pageContext.request.contextPath }/goods/supplier_upd.action"
								method="post">
								<input type="hidden"  name="uuid" value ="${su.uuid }">
								<div class="form-group">
									<label class="col-lg-4 control-label">供应商管理</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" placeholder="供应商管理"
											name="name" value ="${su.name }">
									</div>
								</div>

								<div class="form-group">
									<label class="col-lg-4 control-label">联系人</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" placeholder="联系人"
											name="contact" value ="${su.contact }"  >
									</div>
								</div>
								<div class="form-group">
									<label class="col-lg-4 control-label">电话</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" placeholder="电话"
											name="tele"   value ="${su.tele}" >
									</div>
								</div>



								<div class="form-group">
									<label class="col-lg-4 control-label">供应商地址</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" placeholder="供应商地址"
											name="address"  value ="${su.address}" >
									</div>
								</div>
								<div class="form-group">
								
									<label class="col-lg-4 control-label">送货方式</label>
									<div class="col-lg-8">
										<select class="form-control" name="needs">
											<option value="0">----请-选-择----</option>
											<option value="1" <c:if test="${su.needs==1 }">selected="selected"</c:if>>送货</option>
											<option value="2" <c:if test="${su.needs==2 }">selected="selected"</c:if> >自提</option>
										</select>
									</div>
								</div>




								<hr>
								<div class="form-group">
									<div class="col-lg-offset-1 col-lg-9">

										<input type="submit" class="btn btn-primary"/>
										<input type="reset" class="btn btn-warning"/>

									</div>
								</div>
							</form>
						</div>
					</div>
					<div class="widget-foot">
						<!-- Footer goes here -->
					</div>
				</div>

			</div>
		</div>
	</div>
</body>
<%@ include file="../base/top_js.jsp"%>
</html>